package com.ruoyi.project.order.service.impl;


import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.order.domain.HisOrderCharge;
import com.ruoyi.project.order.mapper.HisOrderChargeMapper;
import com.ruoyi.project.order.service.HisOrderChargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HisOrderChargeServiceImpl implements HisOrderChargeService {

    @Autowired
    private HisOrderChargeMapper chargeMapper;

    @Override
    public int insertOrderCharge(HisOrderCharge orderCharge) {

       return  chargeMapper.insertOrderCharge(orderCharge);

    }

    @Override
    public List<HisOrderCharge> selectOrderChargeList(HisOrderCharge hisOrderCharge) {
       return chargeMapper.selectOrderChargeList(hisOrderCharge);

    }
}
